From 1a1e293d315bb1e503473f145d2930d1488fb674 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 18 Feb 2001 04:08:30 +0000 Subject: [PATCH] docs 2001-02-17 Havoc Pennington * gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_type): docs --- gdk-pixbuf/ChangeLog | 4 ++++ gdk-pixbuf/gdk-pixbuf-loader.c | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 4b1d13dc4d..c33eb75325 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,7 @@ +2001-02-17 Havoc Pennington + + * gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_type): docs + 2001-02-07 Alexander Larsson * io-xpm.c (free_buffer): diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c index 3ed9036782..45bd4cf4cf 100644 --- a/gdk-pixbuf/gdk-pixbuf-loader.c +++ b/gdk-pixbuf/gdk-pixbuf-loader.c @@ -498,8 +498,15 @@ gdk_pixbuf_loader_new (void) /** * gdk_pixbuf_loader_new_with_type: + * @image_type: name of the image format to be loaded with the image + * @error: return location for an allocated #GError, or %NULL to ignore errors * - * Creates a new pixbuf loader object. + * Creates a new pixbuf loader object that always attempts to parse + * image data as if it were an image of type @image_type, instead of + * identifying the type automatically. Useful if you want an error if + * the image isn't the expected type, for loading image formats + * that can't be reliably identified by looking at the data, or if + * the user manually forces a specific type. * * Return value: A newly-created pixbuf loader. **/ -- 2.30.2